//
//  HomeWheelModel.m
//  GiftNote
//
//  Created by lanou on 15/8/13.
//  Copyright (c) 2015年 GN. All rights reserved.
//

#import "HomeWheelModel.h"

@interface HomeWheelModel ()

@end

@implementation HomeWheelModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"target"]) {
        _targetModel = [[HomeTargetModel alloc]init];
        [_targetModel setValuesForKeysWithDictionary:value];
    } else if ([key isEqualToString:@"id"]) {
        _ID = value;
    }
}

//- (void)encodeWithCoder:(NSCoder *)aCoder
//{
//    [aCoder encodeObject:self.image_url forKey:@"image_url"];
//}
//
//- (id)initWithCoder:(NSCoder *)aDecoder
//{
//    self.image_url = [aDecoder decodeObjectForKey:@"image_url"];
//    return self;
//}

@end
